## Process this file with automake to produce Makefile.in
## Created by Anjuta

SUBDIRS = src po

gnome2_globalmenu_appletdocdir = ${datadir}/doc/gnome2-globalmenu-applet
gnome2_globalmenu_appletdoc_DATA = \
	README\
	COPYING\
	AUTHORS\
	ChangeLog\
	INSTALL\
	NEWS\
	GNOME_GlobalMenuApplet.server.sample

intltool_in_files = intltool-extract.in\
	intltool-merge.in\
	intltool-update.in	

intltool_files = intltool-extract intltool-merge intltool-update
script_in_files = dist.sh.in bonobo-server.sh.in
script_files = dist.sh bonobo-server.sh
EXTRA_DIST = $(gnome2_globalmenu_appletdoc_DATA) $(intltool_in_files) $(script_in_files)
DISTCLEANFILES = $(intltool_files) $(scripts_files)
bonobodir= `pkg-config --variable=libdir bonobo-activation-2.0`/bonobo/servers
bonobo_DATA= GNOME_GlobalMenuApplet.server
schemadir= $(sysconfdir)/gconf/schemas
schema_DATA= gnome2-globalmenu-applet.schema

DISTCLEANFILES += GNOME_GlobalMenuApplet.server gnome2-globalmenu-applet.schema

GNOME_GlobalMenuApplet.server: bonobo-server.sh
	./bonobo-server.sh > $@
#
# Copy all the spec files. Of cource, only one is actually used.
dist-hook:
	for specfile in *.spec.in; do \
		if test -f $$specfile; then \
			cp -p $$specfile $(distdir); \
		fi \
	done

